<template>
<div class="inf-con-bot">
  <button v-if="show1" @click="btn1">{{name1}}</button>
  <button v-if="show2" @click="btn2">{{name2}}</button>
</div>
</template>

<script>
export default {
  name: "infConBottom",
  props:{
    show1:'',
    show2:'',
    name1:'',
    name2:''
  },
  methods:{
    btn2:function(){
      this.$emit('btn2');
      console.log('asdasf')
    },
    btn1:function(){
      this.$emit('btn1')
    }
  }
}
</script>

<style scoped>

</style>
